import { EnumFactory} from './EnumFactory'; 
export default class BaseEnumFactory extends EnumFactory{ 


  /**用户状态*/ 
  static UserEnum_Status:UserEnum_Status={
    ENABLE:{code:0,value:"启用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DISABLE:{code:1,value:"禁用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**账号类型*/ 
  static AccountEnum_AccType:AccountEnum_AccType={
    ADMINISTRATOR_ACCOUNT:{code:0,value:"管理员账号",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    ORDINARY_ACCOUNT_NUMBER:{code:1,value:"普通账号",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**角色状态*/ 
  static RoleEnum_Status:RoleEnum_Status={
    ENABLE:{code:0,value:"启用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DISABLE:{code:1,value:"禁用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**组织状态*/ 
  static OrgEnum_Status:OrgEnum_Status={
    ENABLE:{code:0,value:"启用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DISABLE:{code:1,value:"禁用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**资源所属方式(拥有者获取或者失去权限) 操作类别 0:增加 1:减少*/ 
  static PrivilegeEnum_PrivRegType:PrivilegeEnum_PrivRegType={
    OBTAIN:{code:0,value:"获得",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    LOSING:{code:1,value:"失去",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**拥有资源的对象类型 */ 
  static PrivilegeEnum_MasterType:PrivilegeEnum_MasterType={
    ACCOUNT:{code:0,value:"账号",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    ROLE:{code:1,value:"角色",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**用户类型(预留状态)*/ 
  static UserEnum_UserType:UserEnum_UserType={
    ORDINARY_USER:{code:0,value:"普通用户",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**显示区分*/ 
  static SysMenuEnum_MenuIsShow:SysMenuEnum_MenuIsShow={
    SHOW:{code:0,value:"展示",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DONT_SHOW:{code:1,value:"不展示",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知状态",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**菜单/页面/按钮资源类型*/ 
  static SysAuthResEnum_ResourceType:SysAuthResEnum_ResourceType={
    MENU:{code:1,value:"菜单",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    PAGE:{code:2,value:"页面",equals:(statusObj:EnumStruct<object>)=>statusObj.code==2}, 
    BTN_FUNC:{code:3,value:"按钮权限",equals:(statusObj:EnumStruct<object>)=>statusObj.code==3}, 
    UNKNOWN:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**用户性别*/ 
  static UserEnum_UserSex:UserEnum_UserSex={
    MALE:{code:1,value:"男",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    FEMALE:{code:2,value:"女",equals:(statusObj:EnumStruct<object>)=>statusObj.code==2}, 
    UNKNOWN_TYPE:{code:-1,value:"未填写",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


  /**账号状态*/ 
  static AccountEnum_Status:AccountEnum_Status={
    ENABLE:{code:0,value:"启用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==0}, 
    DISABLE:{code:1,value:"禁用",equals:(statusObj:EnumStruct<object>)=>statusObj.code==1}, 
    UNKNOWN_TYPE:{code:-1,value:"未知类型",equals:(statusObj:EnumStruct<object>)=>statusObj.code==-1}, 
}


}